package com.ruoyi.factory.staffSafe.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;

import java.util.Date;

/**
 * 特种作业人员证件信息对象 t_staffsafe_credential
 * 
 * @author ljj
 * @date 2024-04-12
 */
public class StaffsafeCredential
{
    private static final long serialVersionUID = 1L;

    /** id */
    private String id;

    /** 员工id */
//    @Excel(name = "员工id")
    private String userid;

    /**  */
//    @Excel(name = "")
    private String userCode;

    /** 职业资格名称 */
    @Excel(name = "技术职务/职业资格")
    private String credentialname;

    /** 作业类别 */
    @Excel(name = "作业类别")
    private String cretype;

    /** 操作项目 */
    @Excel(name = "操作项目")
    private String crepro;

    /** 培训机构 */
    @Excel(name = "培训机构")
    private String edudep;

    /** 发证机关 */
    @Excel(name = "发证机关")
    private String creaward;

    /** 证件编码 */
    @Excel(name = "安全培训合格证书编号")
    private String creid;

    /** 证件有效日期 */
    @Excel(name = "证件有效日期")
    private String cretime;

    /** 复审日期 */
//    @Excel(name = "复审日期")
    private String reviewtime;

    /** 复审结果 一般为空或者通过 */
//    @Excel(name = "复审结果 一般为空或者通过")
    private String reviewresult;

    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date starttime;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endtime;

    /** 状态 */
//    @Excel(name = "状态")
    private String dr;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setUserid(String userid) 
    {
        this.userid = userid;
    }

    public String getUserid() 
    {
        return userid;
    }
    public void setUserCode(String userCode)
    {
        this.userCode = userCode;
    }

    public String getUserCode()
    {
        return userCode;
    }
    public void setCretype(String cretype) 
    {
        this.cretype = cretype;
    }

    public void setCredentialname(String credentialname)
    {
        this.credentialname = credentialname;
    }

    public String getCredentialname()
    {
        return credentialname;
    }

    public String getCretype() 
    {
        return cretype;
    }
    public void setCrepro(String crepro) 
    {
        this.crepro = crepro;
    }

    public String getCrepro() 
    {
        return crepro;
    }
    public void setEdudep(String edudep) 
    {
        this.edudep = edudep;
    }

    public String getEdudep() 
    {
        return edudep;
    }
    public void setCreaward(String creaward) 
    {
        this.creaward = creaward;
    }

    public String getCreaward() 
    {
        return creaward;
    }
    public void setCreid(String creid) 
    {
        this.creid = creid;
    }

    public String getCreid() 
    {
        return creid;
    }
    public void setCretime(String cretime) 
    {
        this.cretime = cretime;
    }

    public String getCretime() 
    {
        return cretime;
    }
    public void setReviewtime(String reviewtime) 
    {
        this.reviewtime = reviewtime;
    }

    public String getReviewtime() 
    {
        return reviewtime;
    }
    public void setReviewresult(String reviewresult) 
    {
        this.reviewresult = reviewresult;
    }

    public String getReviewresult() 
    {
        return reviewresult;
    }
    public void setDr(String dr)
    {
        this.dr = dr;
    }

    public String getDr()
    {
        return dr;
    }

    public void setStarttime(Date starttime)
    {
        this.starttime = starttime;
    }

    public Date getStarttime()
    {
        return starttime;
    }

    public void setEndtime(Date endtime)
    {
        this.endtime = endtime;
    }

    public Date getEndtime()
    {
        return endtime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userid", getUserid())
            .append("credentialname", getCredentialname())
            .append("userCode", getUserCode())
            .append("cretype", getCretype())
            .append("crepro", getCrepro())
            .append("edudep", getEdudep())
            .append("creaward", getCreaward())
            .append("creid", getCreid())
            .append("cretime", getCretime())
            .append("reviewtime", getReviewtime())
            .append("reviewresult", getReviewresult())
            .append("dr", getDr())
            .append("starttime", getStarttime())
            .append("endtime", getEndtime())
            .toString();
    }
}
